package com.newcoin.xgb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;

/**
 * (XgbShipAddress)实体类
 *
 * @author makejava
 * @since 2020-04-02 22:49:21
 */
@Data
public class XgbShipAddress implements Serializable {
    private static final long serialVersionUID = 169089592611708934L;

    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    @JsonIgnore
    private Long userId;
    /**
    * 真实姓名
    */
    private String name;
    /**
    * 手机号
    */
    private String mobile;
    /**
    * 邮政编码
    */
    private String postalCode;
    /**
    * 地区
    */
    private String area;
    /**
    * 收货地址
    */
    private String address;
    /**
    * 是否是默认地址  0否 1是
    */
    private Boolean isDefault;

}